import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useWSStore = defineStore('WebSocketStore', () => {
    const CSStatus = ref(false);
    const CSPositionX = ref(0);
    const CSPositionY = ref(0);
    const CSSpeedX = ref(0);
    const CSSpeedY = ref(0);

    return {
        CSStatus,
        CSPositionX,
        CSPositionY,
        CSSpeedX,
        CSSpeedY
    }
})
